<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::io::real_sense::RealSenseDevice类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1io_1_1real__sense_1_1_real_sense_device.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="classpcl_1_1io_1_1real__sense_1_1_real_sense_device-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::io::real_sense::RealSenseDevice类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 pcl::io::real_sense::RealSenseDevice 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1io_1_1real__sense_1_1_real_sense_device.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a7499574c8d869a680d05456ac84f9b4c"><td class="memItemLeft" align="right" valign="top"><a id="a7499574c8d869a680d05456ac84f9b4c"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1io_1_1real__sense_1_1_real_sense_device.html">RealSenseDevice</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a7499574c8d869a680d05456ac84f9b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6783c61bb578b493245eb6c207962029"><td class="memItemLeft" align="right" valign="top"><a id="a6783c61bb578b493245eb6c207962029"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getSerialNumber</b> ()</td></tr>
<tr class="separator:a6783c61bb578b493245eb6c207962029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52ff3364b047f440ad35c4b6e6241a6d"><td class="memItemLeft" align="right" valign="top"><a id="a52ff3364b047f440ad35c4b6e6241a6d"></a>
PXCCapture::Device &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getPXCDevice</b> ()</td></tr>
<tr class="separator:a52ff3364b047f440ad35c4b6e6241a6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1ef9fc3439cf5bf9a81023aa35d8d5ef"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1io_1_1real__sense_1_1_real_sense_device.html#a1ef9fc3439cf5bf9a81023aa35d8d5ef">reset</a> (RealSenseDevice::Ptr &amp;device)</td></tr>
<tr class="separator:a1ef9fc3439cf5bf9a81023aa35d8d5ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:adb13c01fe8944542c702142a181e352f"><td class="memItemLeft" align="right" valign="top"><a id="adb13c01fe8944542c702142a181e352f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>RealSenseDevice</b> (const std::string &amp;id)</td></tr>
<tr class="separator:adb13c01fe8944542c702142a181e352f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a8707471068bc723dd1064aa39f902ee7"><td class="memItemLeft" align="right" valign="top"><a id="a8707471068bc723dd1064aa39f902ee7"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>device_id_</b></td></tr>
<tr class="separator:a8707471068bc723dd1064aa39f902ee7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0de15b611b7ce5c5fd89f053ecdb2b3"><td class="memItemLeft" align="right" valign="top"><a id="ab0de15b611b7ce5c5fd89f053ecdb2b3"></a>
boost::shared_ptr&lt; PXCCapture &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>capture_</b></td></tr>
<tr class="separator:ab0de15b611b7ce5c5fd89f053ecdb2b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d110db537d77c58c5bc06b536fbc4cc"><td class="memItemLeft" align="right" valign="top"><a id="a5d110db537d77c58c5bc06b536fbc4cc"></a>
boost::shared_ptr&lt; PXCCapture::Device &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>device_</b></td></tr>
<tr class="separator:a5d110db537d77c58c5bc06b536fbc4cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a83023e46c1edd10c048c4c8c2b8857f2"><td class="memItemLeft" align="right" valign="top"><a id="a83023e46c1edd10c048c4c8c2b8857f2"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>RealSenseDeviceManager</b></td></tr>
<tr class="separator:a83023e46c1edd10c048c4c8c2b8857f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a1ef9fc3439cf5bf9a81023aa35d8d5ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ef9fc3439cf5bf9a81023aa35d8d5ef">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::io::real_sense::RealSenseDevice::reset </td>
          <td>(</td>
          <td class="paramtype">RealSenseDevice::Ptr &amp;&#160;</td>
          <td class="paramname"><em>device</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reset the state of given device by releasing and capturing again. </p>
<div class="fragment"><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;          {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;            std::string <span class="keywordtype">id</span> = device-&gt;getSerialNumber ();</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            device.reset ();</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            device = RealSenseDeviceManager::getInstance ()-&gt;captureDevice (<span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;          }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>io/include/pcl/io/real_sense/<a class="el" href="real__sense__device__manager_8h_source.html">real_sense_device_manager.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>io</b></li><li class="navelem"><b>real_sense</b></li><li class="navelem"><a class="el" href="classpcl_1_1io_1_1real__sense_1_1_real_sense_device.html">RealSenseDevice</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
